<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Craftsman extends Model
{
    // 匠人
    protected $table = "craftsman";

    public $timestamps = false;
    protected $guarded = ['id'];

    public function zone()
    {
        return $this->belongsTo('App\Zone');
    }

    public function user()
    {
        return $this->belongsTo('App\User');
    }
}
